package com.ebring.shareEducation.utils;

import java.sql.Connection;
import java.util.Properties;

public class SmsUtil {

	public static String name;
	public static String psw;
	private static ThreadLocal<Connection> tl = new ThreadLocal<Connection>();

	static {
		Properties p = new Properties();
		try {
			p.load(SmsUtil.class.getClassLoader().getResourceAsStream(
					"dx.properties"));
			name = p.getProperty("name");
			psw = p.getProperty("psw");
		} catch (Exception e) {
			e.printStackTrace();
			throw new RuntimeException("读取配置文件错误！");
		}
	}
	
}
